<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-company-edit" th:object="${company}">
            <input id="companyId" name="companyId" th:field="*{companyId}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">企业名称：</label>
				<div class="col-sm-8">
					<input id="companyName" name="companyName" th:field="*{companyName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">机构代码：</label>
				<div class="col-sm-8">
					<input id="companyOrgNum" name="companyOrgNum" th:field="*{companyOrgNum}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">详细地址：</label>
				<div class="col-sm-8">
					<input id="companyAddress" name="companyAddress" th:field="*{companyAddress}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">申请返回时间：</label>
				<div class="col-sm-8">
					<input id="companyApplyTime" name="companyApplyTime" th:field="*{companyApplyTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">企业联系人手机号：</label>
				<div class="col-sm-8">
					<input id="companyPhone" name="companyPhone" th:field="*{companyPhone}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">企业联系人：</label>
				<div class="col-sm-8">
					<input id="connectPeople" name="connectPeople" th:field="*{connectPeople}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">用户ID：</label>
				<div class="col-sm-8">
					<input id="userId" name="userId" th:field="*{userId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">创建者：</label>
				<div class="col-sm-8">
					<input id="createBy" name="createBy" th:field="*{createBy}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">创建时间：</label>
				<div class="col-sm-8">
					<input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">更新者：</label>
				<div class="col-sm-8">
					<input id="updateBy" name="updateBy" th:field="*{updateBy}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">更新时间：</label>
				<div class="col-sm-8">
					<input id="updateTime" name="updateTime" th:field="*{updateTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">备注：</label>
				<div class="col-sm-8">
					<input id="remark" name="remark" th:field="*{remark}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">企业申请指挥部ID：</label>
				<div class="col-sm-8">
					<input id="companyApplyControId" name="companyApplyControId" th:field="*{companyApplyControId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">企业统一社会信用代码：</label>
				<div class="col-sm-8">
					<input id="companySocialNum" name="companySocialNum" th:field="*{companySocialNum}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">企业所在地市行政区划分：</label>
				<div class="col-sm-8">
					<input id="companyLocationCode" name="companyLocationCode" th:field="*{companyLocationCode}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">企业联系人身份证号：</label>
				<div class="col-sm-8">
					<input id="idCardNum" name="idCardNum" th:field="*{idCardNum}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">返工总人数（包含司机）：</label>
				<div class="col-sm-8">
					<input id="bakAllNum" name="bakAllNum" th:field="*{bakAllNum}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">企业所在地县指挥部审核意见（是/否）：</label>
				<div class="col-sm-8">
					<input id="applyOpinion" name="applyOpinion" th:field="*{applyOpinion}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">审批表通过时间：</label>
				<div class="col-sm-8">
					<input id="applyTime" name="applyTime" th:field="*{applyTime}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">指挥部报送人员ID：</label>
				<div class="col-sm-8">
					<input id="controPeopleId" name="controPeopleId" th:field="*{controPeopleId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">区划：</label>
				<div class="col-sm-8">
					<input id="aera" name="aera" th:field="*{aera}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">省：</label>
				<div class="col-sm-8">
					<input id="privence" name="privence" th:field="*{privence}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">市：</label>
				<div class="col-sm-8">
					<input id="city" name="city" th:field="*{city}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">县：</label>
				<div class="col-sm-8">
					<input id="county" name="county" th:field="*{county}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/company"
		$("#form-company-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-company-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
